<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>搜索页面</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/bootstrap.min.css"/>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/main.css"/>
	<style>
		.container{
			margin-top:30px;
			margin-bottom: 100px;
		}
	</style>
</head>
<body>
	<include file="nav"/>
	<div class="container">
		<form action="http://1766.party/index.php/Home/Index/search" method="get">
            <div class="input-group">
                <input type="text" name="key" class="form-control" placeholder="赶紧输入的想搜的">
                <span class="input-group-btn">
                    <button class="btn btn-default" type="submit">开始搜索</button>
                </span>
            </div>
        </form>
        <h3>以下是搜索结果</h3>
		<foreach item="k" name="key">		
		<div class="media">
		    <a class="pull-left" href="#">
		        <img class="media-object" src="{$k['img_path']}" style="width:220px;height:150px;">
		    </a>
		    <div class="media-body">
		        <h4 class="media-heading">
		        	<a href="{:U('Home/Page/Index',array('id'=>$k['aid']))}">{$k['title']}</a>
		        </h4>
		        	<p class="media-content">
		        		{$k['cutcon']}......
		        	</p>
				<div class="paperBottom">
					<span><i class="glyphicon glyphicon-camera"></i>北京</span>
					<span><i class="glyphicon glyphicon-user"></i>By:{$k['author']}</span>
					<span><i class="glyphicon glyphicon-eye-open"></i>{$k['clicknum']}</span>
				</div>	  	      
			</div>
		</div>
		</foreach>
	</div>
</body>
</html>